﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OpenTK;
using OpenTK.Input;

namespace opentk_first_project
{
    class Input
    {
        public Vector2 MousePosition { get; set; }
        MouseState _mouseState;
        KeyboardState _keyboardState;
        public MouseState MouseState
        {
            get { return _mouseState; }
        }
        public Input()
        {

        }

        public void Update()
        {
            _mouseState = Mouse.GetState();
            _keyboardState = Keyboard.GetState();
            
        }

        public Key[] GetKeysDown()
        {
            List<Key> keys = new List<Key>();
            return keys.ToArray();
        }

    }
}
